qt_add_qml_module(Qool
    VERSION 2.0
    RESOURCE_PREFIX /qoolui
    URI "Qool"
    PLUGIN_TARGET Qool
    NO_PLUGIN_OPTIONAL
    NO_GENERATE_PLUGIN_SOURCE
    CLASS_NAME QoolExtensionPlugin
    IMPORTS
        Qool.Components
        Qool.Styles
    QML_FILES
        QoolNumberGate.qml
        QoolFn.js
    SOURCES
        qoolsingleton.h
        qoolfontmodel.cpp
        qoolfontmodel.h
        qoolsettings.cpp
        qoolsettings.h
        qoolsingleton.cpp
        qool_global.h
        qoolplugin.cpp
)


target_link_libraries(Qool PRIVATE Qt6::Core Qt6::Quick)

add_subdirectory(Components)
add_subdirectory(Controls)
add_subdirectory(Styles)
add_subdirectory(Windows)
